#ifndef ASSET_HPP
#define ASSET_HPP

/************* WXWIDGETS STUFF ************/
#include "wx/wxprec.h"	//precompiled things

#ifndef WX_PRECOMP		//in case no precompiled things
	#include "wx/wx.h"
#endif //WX_PRECOMP
/*********** END WXWIDGETS STUFF ***************/

#include "filename.hpp"
#include <vector>

class Asset
{
private:
	Filename m_Name;
	std::vector <wxString> m_Users;

public:
	Asset();
	Asset(wxString in_name) {m_Name = in_name;}
	Asset(Filename in_name) {m_Name = in_name;}

	void addUser(wxString in_name) {m_Users.push_back(in_name);}
	bool isUnused() const {return m_Users.size() == 0;}

	wxString getCore	()	const {return m_Name.getCore();}
	wxString getOrig	()	const {return m_Name.getOrig();}
	wxString getLower	()	const {return m_Name.getLower();}
	wxString getComp	()	const {return m_Name.getComp();}

	std::vector <wxString> getUsers() const {return m_Users;}
};
#endif //ASSET_HPP